package com.example.demo.mapper;

import com.example.demo.pojo.GrWorkerOrder;
import com.example.demo.pojo.Worker;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface WorkerOrderMapper {
 List<GrWorkerOrder> WorkerOrderMappershow (
         @Param("statename") String statename,
         @Param("grName") String grName,
         @Param("buBusinessname") String buBusinessname,
         @Param("seq") int seq,
         @Param("buseq") int buseq
 );
 List<Worker> c_workerselect(
         @Param("seq") int seq,
         @Param("name") String name,
         @Param("statename") String statename
 );

 int  workerupdete(
         @Param("state") int state,
         @Param("seq") int seq
 );

 int c_workerdel(
         @Param("seq") int seq
 );

}
